﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DepositoVentaListGrid.ascx.cs" 

Inherits="UILGestion.VentaAdmin.RendicionVenta.DepositoVentaListGrid" %>


<%@ Register Assembly="CustomControls" Namespace="CustomControls" TagPrefix="cc1" %>

<asp:Panel runat="server" ID="PanelRecepcion" >
<asp:DataPager ID="pager" PagedControlID="ListView1" runat="server" >
    <Fields>
      <cc1:PagerField NextPageImageUrl="~/Images/arrow_right2.gif" PreviousPageImageUrl="~/images/arrow_left.gif" />
    </Fields>
</asp:DataPager>
<asp:ListView ID="ListView1" runat="server" OnDataBound="ListView1_DataBound" 
    DataKeyNames="idInternal" onitemdatabound="ListView1_ItemDataBound">
    <LayoutTemplate>
        <table id="itemPlaceHolderContainer" border="0" runat="server" class="ms-crm-List-Header">
          <tr id="Tr1" runat="server">
               
                           
                <th id="Th2" runat="server">
                    <asp:LinkButton ID="LinkButton1" CommandName="Sort" CommandArgument="numDocumento" ForeColor="Blue" runat="server">DEPOSITO</asp:LinkButton>
                </th>
                
                  <th id="Th9" runat="server">
                    <asp:LinkButton ID="LinkButton7" CommandName="Sort" CommandArgument="banco" ForeColor="Blue" runat="server">BANCO</asp:LinkButton>
                </th>
                   <th id="Th1" runat="server">
                    <asp:LinkButton ID="LinkButton2" CommandName="Sort" CommandArgument="cuenta"  ForeColor="Blue" runat="server">CUENTA</asp:LinkButton>
                </th>
                 <th id="Th8" runat="server">
                    <asp:LinkButton ID="LinkButton6" CommandName="Sort" CommandArgument="moneda" ForeColor="Blue" runat="server">MONEDA</asp:LinkButton>
                </th>
             
                <th id="Th4" runat="server">
                    <asp:LinkButton ID="LinkButton4" CommandName="Sort" CommandArgument="total"  ForeColor="Blue" runat="server">TOTAL</asp:LinkButton>
                </th>
                <th id="Th5" runat="server">
                    <asp:LinkButton ID="LinkButton5" CommandName="Sort" CommandArgument="cliente" ForeColor="Blue" runat="server">CLIENTE REF.</asp:LinkButton>
                </th>
                <th id="Th7" runat="server">
                    <asp:LinkButton ID="LinkButton9" CommandName="Sort" CommandArgument="etapa" ForeColor="Blue" runat="server">ETAPA REF.</asp:LinkButton>
                </th>
                <th id="Th6" runat="server">
                    <asp:LinkButton ID="LinkButton8" CommandName="Sort" CommandArgument="UI" ForeColor="Blue" runat="server">UI REF.</asp:LinkButton>
                </th>
               <th id="Th3" runat="server">
                    <asp:LinkButton ID="LinkButton3" CommandName="Sort" CommandArgument="fecha" ForeColor="Blue" runat="server">FECHA</asp:LinkButton>
                </th>
                
                 
                
                
            </tr>
            <tr id="itemPlaceholder" runat="server">
            </tr>
        </table>



    </LayoutTemplate>
    <ItemTemplate>
        <tr style='background-color: <%# (Container.DataItemIndex % 2 == 0)?"#fff":"#eee" %>'>
      
      <%--  NavigateUrl='<%# "~/VentaAdmin/RendicionVenta/RendicionVentaReadForm.aspx?id=" + 
                DataBinder.Eval (Container.DataItem,"idInternal").ToString()  +
                "&idProyecto=" + DataBinder.Eval (Container.DataItem,"idProyecto").ToString()%>' --%>
          
           <td width="75px" align="right">
               <asp:Hyperlink runat= "server"  ForeColor="Blue" ToolTip="Ver Archivo del Deposito"
               NavigateUrl='<%# "../../Admin/ImagenSetForm.aspx?type=Deposito&id=" +  
               DataBinder.Eval(Container.DataItem,"idDeposito").ToString() %>'  
                Text='<%# DataBinder.Eval(Container.DataItem,"numero").ToString()%>'  
                 Target="_blank"  ID="Hyperlink1" />   
            </td>
             <td   width="100px">
                 <%# Eval("banco")%> <br />
            </td>
            
           
                 <td  align="right" width="100px" >
                 <%# Eval("cuenta")%> <br />
            </td>
              <td  align="right" width="40px" >
                 <%# Eval("moneda")%> <br />
            </td>

               <td  align="right" width="80px" >
                 <%# Eval("totalStr")%> <br />
            </td>
            
            
                 <td  align="right" width="250px" >
                 <%# Eval("cliente")%> <br />
            </td>
            </td>
            
                 <td  align="right" width="60px" >
                 <%# Eval("etapa")%> <br />
            </td>
            </td>
            
                 <td  align="right" width="120px" >
                 <%# Eval("UIStr")%> <br />
            </td>
            </td>
            
                 <td  align="right" width="60px" >
                 <%# Eval("fechaStr")%> <br />
            </td>
           
             
            
              
           
           <td>
            
              
            
            </td> 
        </tr>
    </ItemTemplate>
    <EmptyDataTemplate>
        <table id="Table1" runat="server" >
            <tr>
                <td>
                   <h2 style="font-size: x-small; color: #960818">
                        No existe Informacion.</h2>
                </td>
            </tr>
        </table>
    </EmptyDataTemplate>
</asp:ListView>



</asp:Panel>

    
     